package com.shroo8.footballblog.bo.test;

import java.util.ArrayList;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.shroo8.footballblog.dto.api.CommentDto;
import com.shroo8.footballbloglib.dao.footballblogread.GetCommentsDao;

@Service(value="getCommentsBo")
public class GetCommentsBoImpl implements GetCommentsBo{
	
	@Resource(name="getCommentsDao")
	GetCommentsDao getCommentsDao;

	@Override
	public ArrayList<CommentDto> getComments(String articleId) {
		return getCommentsDao.execute(articleId);
	}
	
	
}
